package com.mnsq.common.tools.tool;

import com.vwkit.common.helper.encrypt.MD5;

/**
 * @author Administrator
 * @date 2019/4/6 0006
 */
public class GenerateKey {
    /**
     * 存储阅读量统计的内容唯一码
     */
    public static final String UNIQUE = "uniRd-";

    private GenerateKey() {
    }

    public static String readableKey(String unique, Long userId) {
        return MD5.get16(unique + userId);
    }
}
